Skip to main content

Interface: UserProfileProps

UserProfile.UserProfileProps

Properties

FeedObjectProps

Optional FeedObjectProps: FeedObjectProps

Props to spread to single feed object

Default

empty object

Defined in

UserProfile/UserProfile.tsx:123


FeedSidebarProps

Optional FeedSidebarProps: StickyBoxProps

Props to spread to single feed object

Default

{top: 0, bottomBoundary: `#${id}`}

Defined in

UserProfile/UserProfile.tsx:129


UserFeedProps

Optional UserFeedProps: UserFeedProps

Props to spread to feed component

Default

{}

Defined in

UserProfile/UserProfile.tsx:147


UserProfileHeaderProps

Optional UserProfileHeaderProps: UserProfileHeaderProps

Props to spread to UserTagStack component

Default

{}

Defined in

UserProfile/UserProfile.tsx:135


className

Optional className: string

Overrides or extends the styles applied to the component.

Default

null

Defined in

UserProfile/UserProfile.tsx:69


editEndActions

Optional editEndActions: ReactNode

Actions to be inserted after default user profile actions if it is my profile (edit mode)

Defined in

UserProfile/UserProfile.tsx:111


editStartActions

Optional editStartActions: ReactNode

Actions to be inserted before default user profile actions if it is my profile (edit mode)

Defined in

UserProfile/UserProfile.tsx:106


endActions

Optional endActions: ReactNode

Actions to be inserted after default user profile actions

Defined in

UserProfile/UserProfile.tsx:91


id

Optional id: string

Id of the user profile

Default

'user'

Defined in

UserProfile/UserProfile.tsx:63


onEditClick

Optional onEditClick: (user: SCUserType) => void

Type declaration

▸ (user): void

Click handler for edit button

Parameters
NameType
userSCUserType
Returns

void

Default

null

Defined in

UserProfile/UserProfile.tsx:141


startActions

Optional startActions: ReactNode

Actions to be inserted before default user profile actions

Defined in

UserProfile/UserProfile.tsx:86


user

Optional user: SCUserType

User Object

Default

null

Defined in

UserProfile/UserProfile.tsx:75


userId

Optional userId: string | number

Id of the user for filter the feed

Default

null

Defined in

UserProfile/UserProfile.tsx:81


viewEndActions

Optional viewEndActions: ReactNode

Actions to be inserted after default user profile actions if is not my profile (view mode)

Defined in

UserProfile/UserProfile.tsx:101


viewStartActions

Optional viewStartActions: ReactNode

Actions to be inserted before default user profile actions if is not my profile (view mode)

Defined in

UserProfile/UserProfile.tsx:96


widgets

Optional widgets: SCFeedWidgetType[]

Widgets to be rendered into the feed

Default

[UserFollowedCategoriesWidget, UserFollowedUsersWidget]

Defined in

UserProfile/UserProfile.tsx:117